package cn.itsource.system.mapper;





import cn.itsource.system.domain.Permission;
import cn.itsource.system.query.PermissionQuery;

import java.util.List;

public interface PermissionMapper {
    void add(Permission permission);
    void update(Permission permission);
    void delete(Long id);   
    Permission getOne(Long id);
    List<Permission> getAll();

    void patchDelete(Long[] ids);

    List<Permission> pageQuery(PermissionQuery query);

    Permission selectBySn(String permissionSn);
}
